package com.ball.entity;

public class User {
    private int id ;
    private String username="null";
    private String password="null";
    private String mail="null";
    private String walletName="null";
    private String walletAddress="null";
    private String money="0";

    public User() {
    }

    public User(int id, String username, String password, String mail, String walletName, String walletAddress, String money) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.mail = mail;
        this.walletName = walletName;
        this.walletAddress = walletAddress;
        this.money = money;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getWalletName() {
        return walletName;
    }

    public void setWalletName(String walletName) {
        this.walletName = walletName;
    }

    public String getWalletAddress() {
        return walletAddress;
    }

    public void setWalletAddress(String walletAddress) {
        this.walletAddress = walletAddress;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", mail='" + mail + '\'' +
                ", walletName='" + walletName + '\'' +
                ", walletAddress='" + walletAddress + '\'' +
                ", money='" + money + '\'' +
                '}';
    }
}
